package cn.picclife.mwx.manager.sys.service.impl;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.picclife.mwx.manager.sys.mapper.SysMaintainVersionUrlMapper;
import cn.picclife.mwx.manager.sys.model.bo.SysMaintainVUrlReq;
import cn.picclife.mwx.manager.sys.model.po.SysMaintainVersionUrl;
import cn.picclife.mwx.manager.sys.service.SysMaintainVersionUrlService;

@Service
public class SysMaintainVersionUrlServiceImpl implements SysMaintainVersionUrlService{

	@Autowired
	private SysMaintainVersionUrlMapper sysMaintainVersionUrlMapper;
	
	/**
	 * 根据versionid查询html列表
	 */
	public List<SysMaintainVersionUrl> queryversionurl(SysMaintainVUrlReq req){
		
		SysMaintainVersionUrl versionurl = new SysMaintainVersionUrl();
		versionurl.setSysversionId(req.getSysversionId());
		versionurl.setFileName(".html");
		return sysMaintainVersionUrlMapper.queryversionurl(versionurl);
	}

}
